﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using 手写IOC.IOpenApi;
using 手写IOC.IService;

namespace 手写IOC.OpenApi
{
    public class OpenApiA : IOpenApiA
    {
        private IUserService userService;
        public OpenApiA(IUserService _userService) 
        {
            userService = _userService;
            Console.WriteLine($"{this.GetType().Name}有参数构造ing........");
        }
        public OpenApiA()
        {
            Console.WriteLine($"{this.GetType().Name}无参数构造ing........");
        }
    }
}
